package com.swh.dao;

import com.swh.dao.base.BaseDao;
import com.swh.entity.QualificationCondition;
import com.swh.entity.Statute;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: swh
 * @Description:
 * @Date: 2020/12/21 17:14
 * @Version: 1.0
 */
public interface StatuteDao extends BaseDao<Statute> {
    @Override
    int insert(Statute statute);

    @Override
    int delete(int id);

    @Override
    int update(Statute statute);

    @Override
    Statute load(int id);

    @Override
    List<Statute> pageList(int offset, int pageSize);

    @Override
    int pageListCount(int offset, int pageSize);

    

    List<Map> selectPage(@Param("pageNull") Integer pageNull, @Param("pageSize") Integer pageSize,
                         @Param("condition") QualificationCondition condition);
}
